/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "检查过程中参考的检查表", description = "检查过程中参考的检查表实体类")
public class ChecklistEntryReference extends BaseEntity {

    @ApiModelProperty(value = "检查范围——水司Code", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "检查范围——水司名称", name = "corpName")
    private String corpName;

    @ApiModelProperty(value = "检查范围——所在子节点Code", name = "girdCode")
    private String gridCode;

    @ApiModelProperty(value = "检查范围——所在子节点名称，包含所有父级节点的名称", name = "gridName")
    private String gridName;

    @ApiModelProperty(value = "检查记录ID", name = "gridName", required = true)
    private String checkRecordId;

    @ApiModelProperty(value = "检查记录名称", name = "gridName")
    private String checkRecordName;

    @ApiModelProperty(value = "使用的检查表ID", name = "checklistEntryId", required = true)
    private String checklistEntryId;

    @ApiModelProperty(value = "使用的检查表名称", name = "checklistEntryName")
    private String checklistEntryName;

    private List<ItemCheckRecord> items;

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getGridCode() {
        return gridCode;
    }

    public void setGridCode(String gridCode) {
        this.gridCode = gridCode;
    }

    public String getGridName() {
        return gridName;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public String getCheckRecordId() {
        return checkRecordId;
    }

    public void setCheckRecordId(String checkRecordId) {
        this.checkRecordId = checkRecordId;
    }

    public String getCheckRecordName() {
        return checkRecordName;
    }

    public void setCheckRecordName(String checkRecordName) {
        this.checkRecordName = checkRecordName;
    }

    public String getChecklistEntryId() {
        return checklistEntryId;
    }

    public void setChecklistEntryId(String checklistEntryId) {
        this.checklistEntryId = checklistEntryId;
    }

    public String getChecklistEntryName() {
        return checklistEntryName;
    }

    public void setChecklistEntryName(String checklistEntryName) {
        this.checklistEntryName = checklistEntryName;
    }

    public List<ItemCheckRecord> getItems() {
        return items;
    }

    public void setItems(List<ItemCheckRecord> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "ChecklistEntryReference{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", gridCode='" + gridCode + '\'' +
                ", gridName='" + gridName + '\'' +
                ", checkRecordId='" + checkRecordId + '\'' +
                ", checkRecordName='" + checkRecordName + '\'' +
                ", checklistEntryId='" + checklistEntryId + '\'' +
                ", checklistEntryName='" + checklistEntryName + '\'' +
                ", items=" + items +
                '}';
    }
}
